package com.fyzk.betzhushu.klsf;

import com.fyzk.activity.lottery.shuzicai.BallInfo;
import com.fyzk.betzhushu.ZhuShuBase;

import java.util.List;

/**
 * Created by miao on 2016/12/20.
 * 选一数投和选一红投玩法
 */

public class KLSFSelSingleNumZhushu extends ZhuShuBase{
    @Override
    public long betZhuShu(List<List<BallInfo>> balls) {
        int selNum = 0;
        for(BallInfo info : balls.get(0)){
            if(info.isSelected()){
                selNum++;
            }
        }
        return selNum;
    }
}
